package com.data.JVM.chapter10;

import java.util.List;

/**
 * 泛型与重载
 */
public class GenericTypes02 {
    //只能在sun jdk下编译成功
//    public static int method(List<Integer> list){
//        System.out.println("");
//        return 1;
//    }
    public static String method(List<String> list){
        System.out.println("");
        return "";
    }
}
